;var module = angular.module('CtrlsContent');
module.controller('BijiCtrl',['$scope','$state','api_other','$stateParams',function($scope,$state,api_other,$stateParams){
	$scope.textContent = "";
	$scope.currEvent = {
		submit:function(){
			var content = $scope.textContent;
			var obj = {
				questionId:$stateParams.obj,
				userId:localStorage.bls_userId,
				content:content
			};
			var promise = api_other.bijiSave(obj);
			promise.success(function(data){
				if(data.returnCode == 0){
					alert('保存成功')
					$state.go('zhangjieContent');
				}
			});
		}
	};
}])